package com.yxy.dao;


import com.yxy.base.MyMapper;
import com.yxy.dto.TableReceptionDto;
import com.yxy.model.TableReception;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TableReceptionMapper extends MyMapper<TableReception> {

    int deleteByIds(@Param("ids") List<Long> ids);

    int appRebackReceptionDetail(@Param("ids") List<Long> ids);


    List<TableReception> selectCheckList( TableReceptionDto query);


    List<TableReception> appGetReception( TableReceptionDto query);


    List<TableReception> getListByDay( TableReceptionDto query);

    List<TableReception> reservationNumber( TableReceptionDto query);

    List<TableReception> getReservationsDayList( TableReceptionDto query);

    Long getReservationsDayListCount( TableReceptionDto query);


    List<TableReception> getReservationsOverList( TableReceptionDto query);

}
